home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 5 / Windows 6-Pak (InfoMagic) (Disc 5) (1999).ISO / Scripting-Tools / js15full.exe / Open.ht_ / Open.ht
Encoding:
Text File  |  1998-04-02  |  3.0 KB  |  66 lines

  1. <html>
  2.  
  3. <head>
  4. <script language="JavaScript">
  5. <!-- Hide the script from old browsers --
  6.  
  7. //===============================================
  8. // Java Script code by Java Script It!   www.computan.on.ca/~todd/JavaScriptIt!
  9. //===============================================
  10. function openNewWin4() {
  11. msgWindow=window.open('openexmp.htm' ,'JavaScriptIt','toolbar= 1,location= 1,directories= 1,status= 1,menubar= 1,scrollbars= 1,resizable= 1,copyhistory= 1');
  12. }
  13. // finish hiding -->
  14. </script>
  15.  
  16.  
  17. <script language="JavaScript">
  18. <!-- Hide the script from old browsers --
  19.  
  20. //===============================================
  21. // Java Script code by Java Script It!   www.computan.on.ca/~todd/JavaScriptIt!
  22. //===============================================
  23. function openNewWin3() {
  24. msgWindow=window.open('openexmp.htm' ,'JavaScriptIt','toolbar= 0,location= 0,directories= 0,status= 0,menubar= 0,scrollbars= 0,resizable= 0,copyhistory= 0,width=400,height=225');
  25. }
  26. // finish hiding -->
  27. </script>
  28.  
  29.  
  30. <script language="JavaScript">
  31. <!-- Hide the script from old browsers --
  32.  
  33. //===============================================
  34. // Java Script code by Java Script It!   www.computan.on.ca/~todd/JavaScriptIt!
  35. //===============================================
  36. function openNewWin2() {
  37. msgWindow=window.open('openexmp.htm' ,'JavaScriptIt','toolbar= 0,location= 0,directories= 0,status= 1,menubar= 1,scrollbars= 0,resizable= 1,copyhistory= 0,width=300,height=300');
  38. }
  39. // finish hiding -->
  40. </script>
  41.  
  42.  
  43. <script language="JavaScript">
  44. <!-- Hide the script from old browsers --
  45.  
  46. //===============================================
  47. // Java Script code by Java Script It!   www.computan.on.ca/~todd/JavaScriptIt!
  48. //===============================================
  49. function openNewWin1() {
  50. msgWindow=window.open('openexmp.htm' ,'JavaScriptIt','toolbar= 1,location= 1,directories= 0,status= 0,menubar= 1,scrollbars= 1,resizable= 1,copyhistory= 1,width=300,height=300');
  51. }
  52. // finish hiding -->
  53. </script>
  54.  
  55.  
  56. <title>Open Window</title>
  57. </head>
  58.  
  59. <body bgColor="#FFFFFF" text="000000">
  60.  
  61. <div align=center><font size=6 font="Arial"><b>Open Window</b></font></div><p>
  62.  
  63. 1. Click on this <a href="JavaScript: openNewWin1 ()">hyperlink</a> to open up a new window with custom sizing.<p>
  64.  
  65. 2. Click on this <a href="JavaScript: openNewWin2 ()">hyperlink</a> to open up a new window with custom sizing and settings.<p>
  66.  
  67. 3. Click on this <a href="JavaScript: openNewWin3 ()">hyperlink</a> to open up a new window with custom sizing, custom settings and no resizing.<p>
  68.  
  69. 4. Click on this <a href="JavaScript: openNewWin4 ()">hyperlink</a> to open up a new window with auto sizing.<p>
  70.  
  71. <b>Browser Compatibility</b><br>
  72. ò Works fully in Netscape Navigator 3.0 and higher<br>
  73. ò Works in Microsoft Internet Explorer 3.0 but if custom window size is specified, window will not be resizeable regardless of what you specify<br>
  74. ò Works fully in Microsoft Internet Explorer 4.0 and higher<br>
  75. ò Old browsers will also display a URL not found dialogue box when hyperlink hyperlink is clicked
  76.  
  77. </body>
  78.  
  79.  
  80. </html>
  81.  
  82.